/* 主样式文件 - 炼焦大数据智能诊断系统 */

/* 变量定义 */
:root {
    /* 颜色 - 更新配色方案以提高对比度 */
    --primary-color: #1e40af;       /* 更深的蓝色 */
    --primary-light: #3b82f6;       /* 亮蓝色 */
    --primary-dark: #1e3a8a;        /* 深蓝色 */
    --secondary-color: #0ea5e9;     /* 天蓝色 */
    --accent-color: #f97316;        /* 橙色 */
    --text-color: #111827;          /* 更深的文本颜色 */
    --text-light: #4b5563;          /* 更深的浅灰色文本 */
    --text-dark: #030712;           /* 几乎黑色的文本 */
    --bg-color: #f8fafc;            /* 更浅的背景色 */
    --bg-light: #ffffff;            /* 白色背景 */
    --bg-dark: #e2e8f0;             /* 更深的背景色 */
    --border-color: #cbd5e1;        /* 更明显的边框颜色 */
    --success-color: #059669;       /* 更深的绿色 */
    --warning-color: #d97706;       /* 更深的黄色 */
    --danger-color: #dc2626;        /* 更深的红色 */
    --info-color: #2563eb;          /* 更深的信息蓝 */
    
    /* 新增渐变背景色 - 更丰富的渐变效果 */
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #0369a1 0%, #38bdf8 100%);
    --gradient-accent: linear-gradient(135deg, #c2410c 0%, #fb923c 100%);
    --gradient-dark: linear-gradient(135deg, #111827 0%, #374151 100%);
    --gradient-success: linear-gradient(135deg, #047857 0%, #10b981 100%);
    --gradient-info: linear-gradient(135deg, #1e40af 0%, #60a5fa 100%);

    /* 排版 */
    --font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    /* 布局 */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* 边框和阴影 - 增强阴影效果 */
    --border-radius-sm: 0.125rem;
    --border-radius-md: 0.25rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 1rem;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    --shadow-outline: 0 0 0 3px rgba(59, 130, 246, 0.5);
    
    /* 动画 */
    --transition-fast: 150ms;
    --transition-normal: 250ms;
    --transition-slow: 350ms;
}

/* 全局性能和可访问性优化 */
* {
    -webkit-tap-highlight-color: transparent; /* 移动设备点击高亮 */
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    text-rendering: optimizeLegibility; /* 文字渲染优化 */
    -webkit-font-smoothing: antialiased; /* 字体抗锯齿 */
    -moz-osx-font-smoothing: grayscale;
    font-family: var(--font-family);
    font-size: var(--font-size-md);
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

html {
    font-size: 16px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast) ease-in-out;
}

a:hover {
    color: var(--primary-light);
}

ul, ol {
    list-style: none;
}

/* 图标和交互元素优化 */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon:hover {
    transform: scale(1.1);
    color: var(--primary-light);
}

/* 焦点和可访问性 */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* 性能优化 */
.will-change {
    will-change: transform, opacity;
}

/* 动画性能优化 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* 响应式图像 */
picture, img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 文本溢出处理 */
.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    body {
        color: #000;
        background-color: #fff;
    }

    a {
        color: #0000EE;
        text-decoration: underline;
    }
}

/* 打印样式 */
@media print {
    body * {
        visibility: hidden;
    }
    
    .printable, .printable * {
        visibility: visible;
    }
    
    .printable {
        position: absolute;
        left: 0;
        top: 0;
    }
}

/* 容器宽度优化，使内容区域更宽 */
.container {
    width: 100%;
    max-width: 1400px;  /* 从1200px增加到1400px，使页面内容更宽 */
    margin: 0 auto;
    padding: 0 20px;
}

/* 工具类 */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-accent {
    color: var(--accent-color);
}

.text-success {
    color: var(--success-color);
}

.text-warning {
    color: var(--warning-color);
}

.text-danger {
    color: var(--danger-color);
}

.text-info {
    color: var(--info-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.bg-accent {
    background-color: var(--accent-color);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal) ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn i {
    margin-right: 0.5rem;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-lg);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #0284c7;
    color: white;
}

.btn-accent {
    background-color: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background-color: #ea580c;
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 头部优化 */
header {
    background-color: var(--bg-light);
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    color: #0a2463;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: linear-gradient(to right, #0a2463, #1a4b8c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

header h1 i {
    margin-right: 0.5rem;
    color: var(--primary-light);
}

header .subtitle {
    font-size: 1.1rem;
    color: #1a4b8c;
    margin-top: 0.3rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
}

/* 顶部工具区域重新定位 */
header .quick-tools {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* 工具搜索优化 */
.tool-search {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.search-input {
    padding: 8px 15px;
    padding-right: 40px; /* 为搜索按钮留出空间 */
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    width: 200px;
    transition: all 0.3s ease;
    color: var(--text-color);
    background-color: var(--bg-light);
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3);
    width: 250px;
    border-color: var(--primary-color);
}

/* 搜索按钮样式优化 */
.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 5;
}

.search-btn:hover {
    color: var(--primary-color);
}

.tool-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    margin-left: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tool-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 导航栏样式 */
.main-nav {
    background: var(--gradient-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    color: rgba(255,255,255,0.9);
}

/* 通用导航栏样式 */
nav {
    background: var(--gradient-dark);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    display: block;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 12px 18px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    border-radius: 6px;
}

nav ul li a:hover, nav ul li a.active {
    background-color: rgba(255,255,255,0.15);
    color: #ffffff;
}

nav ul li a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #4a90e2, #63b3ed);
}

nav ul li a i {
    margin-right: 6px;
}

.nav-search {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: 20px;
}

.nav-search input {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 20px;
    padding: 8px 15px 8px 35px;
    color: white;
    width: 180px;
    transition: all 0.3s ease;
}

.nav-search input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.nav-search input:focus {
    background-color: rgba(255, 255, 255, 0.2);
    width: 220px;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.nav-search .search-icon {
    position: absolute;
    left: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
    background: transparent;
    border: none;
    padding: 5px;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--gradient-dark);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .nav-search {
        margin-right: 15px;
    }
    
    .nav-search input {
        width: 150px;
    }
    
    .nav-search input:focus {
        width: 180px;
    }
}

/* 动态背景样式 */
.dynamic-bg {
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    padding: 60px 0;
    color: white;
    animation: bgPulse 8s infinite alternate ease-in-out;
}

.dynamic-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 40%);
    z-index: 0;
    animation: bgMove 15s infinite alternate ease-in-out;
}

.dynamic-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/custom/pattern-light.svg') repeat;
    opacity: 0.05;
    z-index: 0;
    animation: bgMove 20s infinite linear;
}

.dynamic-bg .container {
    position: relative;
    z-index: 2;
}

.dynamic-bg .floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.dynamic-bg .particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: floatingParticle 20s infinite ease-in-out;
}

@keyframes bgPulse {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes bgMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(10px, 10px);
    }
}

/* 项目介绍部分样式 */
.project-intro {
    padding: 80px 0;
    background: #f5f7fa;
}

.project-intro-content {
    max-width: 1200px;  /* 从1000px增加到1200px */
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.project-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.project-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.project-feature {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.project-feature:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-feature i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
}

.project-feature h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: white;
}

.project-feature p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* 页面内容区域优化 */
.page-content .container {
    max-width: 1600px;  /* 为非首页提供更宽的内容区域 */
}

/* 主要内容 */
main {
    padding: var(--space-xl) 0 var(--space-3xl);
}

/* 部分标题 */
.section-title {
    font-size: var(--font-size-2xl);
    color: var(--text-dark);
    margin-bottom: var(--space-xl);
    position: relative;
    padding-bottom: var(--space-sm);
    text-align: center;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* 特性卡片 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.feature-card {
    padding: 2rem;
    height: 100%;
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

.feature-card p {
    color: #333333;
}

/* 流程 */
.process {
    margin-bottom: var(--space-2xl);
}

.process-container {
    position: relative;
}

.process-container:before {
    content: '';
    position: absolute;
    top: 30px;
    bottom: 0;
    left: 45px;
    width: 4px;
    background: linear-gradient(to bottom, #3b82f6, #10b981);
    border-radius: 2px;
    z-index: 0;
}

.process-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    z-index: 1;
}

.process-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #10b981);
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-right: 2rem;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    flex-shrink: 0;
    border: 6px solid white;
}

.process-content {
    flex-grow: 1;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.process-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0f2a5c;
}

.process-content p {
    color: #333333;
    margin-bottom: var(--space-md);
}

/* 数据指标 */
.metrics {
    margin-bottom: var(--space-2xl);
}

.metrics-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.metric-card {
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    height: 100%;
}

.metric-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

.metric-value {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 1rem 0;
    line-height: 1;
}

.metric-value span {
    font-size: var(--font-size-lg);
    margin-left: var(--space-xs);
}

.metric-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
}

/* 技术栈部分样式 */
.tech-stack {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.tech-item {
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.tech-item h3 {
    color: #1a4b8c;
    margin-bottom: 15px;
    font-weight: 600;
}

.tech-item h3 i {
    margin-right: 8px;
    color: #4a90e2;
}

.tech-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 6px;
    background-color: #f8f9fa;
}

.tech-image img {
    max-width: 90%;
    max-height: 200px;
    transition: transform 0.3s ease;
}

.tech-item:hover .tech-image img {
    transform: scale(1.05);
}

.tech-item p {
    color: #555;
    margin-bottom: 20px;
    min-height: 60px;
}

.tech-item .btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.tech-item .btn-outline {
    border: 1px solid #1a4b8c;
    color: #1a4b8c;
    background-color: transparent;
}

.tech-item .btn-outline:hover {
    background-color: #1a4b8c;
    color: #fff;
}

/* 主内容区布局 */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding: 0 15px;
}

.col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
}

.hero-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn i {
    margin-right: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 10px rgba(26, 75, 140, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(26, 75, 140, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* 效益区域样式 */
.benefits {
    padding: 5rem 0;
    background-color: white;
}

.benefits-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
}

.benefit-card h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 页脚样式优化 */
footer {
    background: var(--gradient-dark);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-logo h3 i {
    margin-right: 0.5rem;
    color: var(--primary-light);
}

.footer-logo p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    flex: 2;
}

.footer-links-group {
    flex: 1;
    min-width: 160px;
}

.footer-links-group h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.7rem;
}

.footer-links-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-light);
    border-radius: 2px;
}

.footer-links-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-group ul li {
    margin-bottom: 0.7rem;
}

.footer-links-group ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links-group ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links-group ul li i {
    margin-right: 0.5rem;
    color: var(--primary-light);
    width: 16px;
    text-align: center;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* 响应式设计优化 */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 95%;
        padding: 0 15px;
    }
}

@media screen and (max-width: 992px) {
    .page-header-content {
        padding: 60px 0;
    }

    .data-cards, .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .info-panel {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .info-panel-image {
        min-height: 250px;
        margin-top: 20px;
    }
}

@media screen and (max-width: 768px) {
    .page-header-content {
        padding: 40px 0;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-description {
        font-size: 1rem;
    }

    .data-cards, .process-steps {
        grid-template-columns: 1fr;
    }

    .chart-container {
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    .page-action {
        flex-direction: column;
    }

    .page-action .btn {
        width: 100%;
        margin: 10px 0;
    }
}

/* 元素悬停和交互动画 */
@keyframes subtle-float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes subtle-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hover-float {
    transition: transform 0.3s ease;
}

.hover-float:hover {
    animation: subtle-float 2s ease-in-out infinite;
}

.hover-pulse {
    transition: transform 0.3s ease;
}

.hover-pulse:hover {
    animation: subtle-pulse 1s ease-in-out infinite;
}

/* 卡片和图标动画 */
.data-card, .process-step, .chart-container {
    transition: all 0.3s ease;
}

.data-card:hover, .process-step:hover, .chart-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.1);
}

.data-card-icon, .step-number {
    transition: transform 0.3s ease;
}

.data-card:hover .data-card-icon, .process-step:hover .step-number {
    transform: scale(1.1) rotate(15deg);
}

/* 图像和图表动画 */
.chart-img, .info-panel-image {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.chart-img:hover, .info-panel-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 文本和标题动画 */
@keyframes text-shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}

.text-shimmer {
    background: linear-gradient(90deg, #2563eb 0%, #60a5fa 50%, #2563eb 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-shimmer 3s linear infinite;
}

/* 页面加载动画 */
@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-section {
    opacity: 0;
    animation: fade-in-up 0.8s ease-out forwards;
}

.fade-in-section:nth-child(2) { animation-delay: 0.2s; }
.fade-in-section:nth-child(3) { animation-delay: 0.4s; }
.fade-in-section:nth-child(4) { animation-delay: 0.6s; }

/* 按钮交互动画 */
.btn-animated {
    position: relative;
    overflow: hidden;
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s ease;
}

.btn-animated:hover::before {
    left: 100%;
}

/* 进度条动画 */
@keyframes progress-animation {
    0% { width: 0; }
    100% { width: 100%; }
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 4px;
    background-color: rgba(37, 99, 235, 0.2);
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, #2563eb, #60a5fa);
    animation: progress-animation 2s ease-in-out infinite;
}

/* 性能和交互优化 */

/* 将 will-change 应用到高性能动画元素 */
.hero, .nav, .footer, .chart-container {
    will-change: transform, opacity;
}

/* 减少重绘和重排 */
.transform-optimize {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* 平滑过渡 */
.smooth-transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 焦点状态优化 */
body.user-is-tabbing *:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* 性能友好的动画 */
@keyframes performance-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.performance-float {
    animation: performance-float 3s ease-in-out infinite;
}

/* 减少动画频率 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 网络状态指示器 */
#network-status {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px;
    background-color: #333;
    color: white;
    border-radius: 5px;
    z-index: 9999;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

#network-status:hover {
    transform: scale(1.05);
}

/* 滚动进度条 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e3a8a, #60a5fa);
    z-index: 9999;
    width: 0%;
    transition: width 0.3s ease;
}

/* 性能友好的悬停效果 */
.hover-scale {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* 图像加载占位符 */
img {
    background-color: #f0f0f0;
    background-image: linear-gradient(90deg, #f0f0f0 0px, #e0e0e0 40px, #f0f0f0 80px);
    background-size: 600px;
    animation: shine-lines 1.6s infinite linear;
}

@keyframes shine-lines {
    0% {
        background-position: -100px;
    }
    40%, 100% {
        background-position: 140px;
    }
}

img.loaded {
    background: none;
    animation: none;
}

/* 无障碍焦点样式 */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: white;
    padding: 10px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* 导航优化 */
.main-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav-list li {
    margin: 0 1px;
}

.main-nav-list li a {
    display: block;
    padding: 15px 18px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav-list li a:hover,
.main-nav-list li a.active {
    background-color: rgba(255, 255, 255, 0.15);
}

/* 滚动动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}